projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb615a6
)
(c-set-style): Don't specify initial contents for completing-read.
author
Richard M. Stallman
<rms@gnu.org>
Sat, 23 Jun 2001 16:22:04 +0000
(16:22 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sat, 23 Jun 2001 16:22:04 +0000
(16:22 +0000)
lisp/progmodes/cc-styles.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/cc-styles.el
b/lisp/progmodes/cc-styles.el
index 68591f125c0d2c0a31dc791daa343d3df3dd2fb4..a813056c51b4b91d81ef06b8c86f3e1e53fa7f55 100644
(file)
--- a/
lisp/progmodes/cc-styles.el
+++ b/
lisp/progmodes/cc-styles.el
@@
-302,8
+302,9
@@
done internally by CC Mode, there's hardly ever a reason to use it."
(prompt (format "Which %s indentation style? "
mode-name)))
(completing-read prompt c-style-alist nil t
- (cons c-indentation-style 0)
- 'c-set-style-history))))
+ nil
+ 'c-set-style-history
+ c-indentation-style))))
(c-initialize-builtin-style)
(let ((vars (c-get-style-variables stylename nil)))
(mapcar (lambda (elem)